2007-10-08 Cody Russell <bratsche@gnome.org>
* modules/engines/ms-windows/msw_style.c:
(draw_tab): Fix memory leak, and fix two instances where
a GtkRequisition and a GtkBorder were being freed with
g_free() rather than gtk_requisition_free() and
gtk_border_free(). (#484730, Daniel Atallah)
svn path=/trunk/; revision=18893
+2007-10-08 Cody Russell <bratsche@gnome.org>
+ * modules/engines/ms-windows/msw_style.c:
+ (draw_tab): Fix memory leak, and fix two instances where
+ a GtkRequisition and a GtkBorder were being freed with
+ g_free() rather than gtk_requisition_free() and
+ gtk_border_free(). (#484730, Daniel Atallah)
+
2007-10-08 Cody Russell <bratsche@gnome.org>
* docs/reference/gdk/tmpl/event_structs.sgml:
Fix a typo in GdkEventGrabBroken where it said
if (tmp_size)
{
*indicator_size = *tmp_size;
- g_free (tmp_size);
+ gtk_requisition_free (tmp_size);
}
else
*indicator_size = default_option_indicator_size;
if (tmp_spacing)
{
*indicator_spacing = *tmp_spacing;
- g_free (tmp_spacing);
+ gtk_border_free (tmp_spacing);
}
else
*indicator_spacing = default_option_indicator_spacing;
}
}
- if (widget)
- gtk_widget_style_get (widget, "indicator_size", &indicator_size,
- NULL);
-
option_menu_get_props (widget, &indicator_size, &indicator_spacing);
x += (width - indicator_size.width) / 2;